/**
 * Created by ibm on 2015/8/30.
 */
var params = {
    url: interfaces.recommend,
    data: {
        "token": $.cookie('token'),
        "device":$.getUrlParam("type")?parseInt($.getUrlParam("type")):0,
        "currentPageNo":pageing.init_currentPageNo,
        "pageSize":pageing.init_pageSize
    },
    template: source,
    tbodyId: 'content'
};
$(function(){
    if(dev) {
        console.info('加载', 'recommend/init.js');
    }
    var type=$.getUrlParam("type");
    if(type){
        //$(".tag"+type).css("background-color","#f7f7f7");
        $(".tag"+type).css("border-bottom","2px solid").css("color","#005786");
    }else{
        //$(".tag0").css("background-color","#f7f7f7");
        $(".tag0").css("border-bottom","2px solid").css("color","#005786");
    }
    init_table();
});